package com.river.spark.mr;

import lombok.Data;

import java.util.List;

@Data
public class StudentVo {
    private Integer id;
    private String name;
    private Integer age;

    public StudentVo(List<String> strList){
        id = Integer.valueOf(strList.get(0));
        name = strList.get(1);
        age = Integer.valueOf(strList.get(2));
    }
}
